projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df8b15
)
notebook: Use gtk_widget_queue_draw()
author
Benjamin Otte
<otte@redhat.com>
Wed, 19 Oct 2016 20:46:47 +0000
(22:46 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 27 Oct 2016 03:07:23 +0000
(
05:07
+0200)
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 9e768b10b8edbf3dbd101aa0fbb78dab4550169c..a15ffd89173821c1bf147eafa1ea0aee7f271c9f 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-4733,8
+4733,9
@@
gtk_notebook_redraw_arrows (GtkNotebook *notebook)
continue;
gtk_notebook_get_arrow_rect (notebook, &rect, i);
- gdk_window_invalidate_rect (gtk_widget_get_window (GTK_WIDGET (notebook)),
- &rect, FALSE);
+ gtk_widget_queue_draw_area (GTK_WIDGET (notebook),
+ rect.x, rect.y,
+ rect.width, rect.height);
}
}
}